<?php namespace App\Infra\Admin;

use App\Utils\ModelSDK\ModelOperator;
use App\Models\WeChatDoctor;
use App\Models\WeChatUser;

class WechatDoctorManage{

	use ModelOperator;

	public function getWechatDoctors($conditions = ""){
		return $this->findModel(WeChatDoctor::class,WeChatDoctor::query()->with(['wechatDoctorInfo']),$conditions,$first = true);
	}

	public function getTheWechatUsers($conditions = ""){
		return $this->findModel(WeChatUser::class,WeChatUser::query()->with(['wechatUserInfo']),$conditions,$first = true);
	}

}